From adf8cf1bc3807bf29aadcf05b2a6df0a7f2bab0c Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 16 Jan 2010 15:50:23 -0500 Subject: [PATCH] * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix. --- lisp/ChangeLog | 4 ++++ lisp/pcmpl-unix.el | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f29ce0cda10..89debc7c902 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-01-16 Jari Aalto + + * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix. + 2010-01-16 Chong Yidong * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267). diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el index 546d4a2591d..9282fe87b5a 100644 --- a/lisp/pcmpl-unix.el +++ b/lisp/pcmpl-unix.el @@ -85,7 +85,10 @@ with the SSH option \"HashKnownHosts no\"." (while (pcomplete-here (funcall pcomplete-command-completion-function)))) (defun pcmpl-unix-read-passwd-file (file) - "Return an alist correlating gids to group names in FILE." + "Return an alist correlating gids to group names in FILE. + +If FILE is in hashed format (as described in the OpenSSH +documentation), this function returns nil." (let (names) (when (file-readable-p file) (with-temp-buffer -- 2.30.2